import request from '@/utils/request'

// 查询TI1日快照列表
export function listBiTi1DailySnapshot(query) {
  return request({
    url: '/product/BiTi1DailySnapshot/list',
    method: 'get',
    params: query
  })
}

// 查询TI1日快照详细
export function getBiTi1DailySnapshot(id) {
  return request({
    url: '/product/BiTi1DailySnapshot/' + id,
    method: 'get'
  })
}
// 查询TI1日快照详细
export function dailySnapSynchroData() {
  return request({
    url: '/product/BiTi1DailySnapshot/dailySnapSynchroData',
    method: 'get'
  })
}
// 新增TI1日快照
export function addBiTi1DailySnapshot(data) {
  return request({
    url: '/product/BiTi1DailySnapshot',
    method: 'post',
    data: data
  })
}

// 修改TI1日快照
export function updateBiTi1DailySnapshot(data) {
  return request({
    url: '/product/BiTi1DailySnapshot',
    method: 'put',
    data: data
  })
}

// 删除TI1日快照
export function delBiTi1DailySnapshot(id) {
  return request({
    url: '/product/BiTi1DailySnapshot/' + id,
    method: 'delete'
  })
}
